Activity Diagram for the Meeting Scheduler

Create some activity diagrams for the meeting scheduler problem.

Activity diagrams are a great way to visualize the flow of messages from one activity to the other in the system. There can be different activity diagrams that we can create for our meeting scheduler. In this lesson, we will create activity diagrams for the following two activities:

  • Schedule a meeting

  • Activity challenge: Respond to an invite

Schedule meeting#

The following states and actions will be involved in this activity diagram.

States#

Initial state: The user opens the calendar.

Final state: The notification and meeting details are sent to all the invited participants.

Actions#

The user opens the calendar and selects an available slot. The user books a meeting room and the meeting details are sent to all invited users.

The activity diagram for a user scheduling a meeting
The activity diagram for a user scheduling a meeting

Activity challenge: Respond to an invite#

You'll help us to create an activity diagram of a person responding to an invite.

A skeleton of the activity diagram is given below:

The activity diagram for a user responding to an invite
The activity diagram for a user responding to an invite

Notice that the actions in the diagram above are numbered from 1 to 6. The slots below represent the activities, and the arrows represent the flow from one activity to the other.

Can you rearrange the slots below in the correct order they should appear in the activity diagram given above?

Note: If you get stuck, just click the "Show Solution" button to check the correct answer.

Fill the missing slots with the correct actions for a user responding to an invite.

The user receives a meeting invite

Respond to invite?

Accept

Reject

The scheduler updates the participants list


Alternatively, you can click the "Show complete diagram" button below to see the complete activity diagram.

We've looked at some of the activity diagrams of our meeting scheduler. In the next lesson, we will present the code for our designed classes in some of the most popular languages.

Sequence Diagram for the Meeting Scheduler

Code for the Meeting Scheduler